package com.bzkj.basicinfo.service.ncc;


import com.bzkj.basicinfo.domain.ncc.dto.NccMaterialManufacturerDto;
import com.bzkj.basicinfo.domain.ncc.NccMaterialManufacturer;
import com.bzkj.common.core.domain.AjaxResult;
import com.bzkj.common.core.domain.R;

import java.util.List;

public interface NccMaterialManufacturerService {
    /**
     * NCC生产厂商
     */
    void updateNccMaterialManufacturerJob(String all);

    /**
     * 根据条件查询生产商信息
     *
     * @Author wangzhichao
     * @Date 2024/12/10 10:17:28
     * @Param dto
     */
    List<NccMaterialManufacturer> findNccMaterialManufacturerData(NccMaterialManufacturerDto dto);

    /**
     * 根据code修改生产商状态
     * @Author wangzhichao
     * @Date 2024/12/10 10:25:12
     * @Param code
     * @Param status
     */
    AjaxResult nccMaterialManufacturerEnableStatusUpdate(String code, String status);

    /**
     * 根据code修改生产商信息
     * @Author wangzhichao
     * @Date 2024/12/10 10:32:38
     * @Param entity
     */
    AjaxResult nccMaterialManufacturerUpdate(NccMaterialManufacturer entity);

    /**
     * 新增生产商信息
     *
     * @Author wangzhichao
     * @Date 2024/12/10 10:45:22
     * @Param entity
     */
    AjaxResult nccMaterialManufacturerSave(NccMaterialManufacturer entity);

    R jobMethodExecute(Boolean flag);
}
